﻿@model iDMS.Models.Employee
@using MvcHtmlHelpers
@using iDMS.Models
<table style="width:auto">
    <tr>
        <td>
            <div class="display-label">
                Firsth Name</div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Name)
            </div>
            <div class="display-label">
                Last Name</div>
            <div class="display-field">
                @Html.DisplayFor(model => model.LastName)
            </div>
            <div class="display-label">
                Gender</div>
            <div class="display-field">
                @Html.DisplayFor(model => model.GenderLong)
            </div>
            <div class="display-label">
                Department</div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Department.FullName2)
            </div>
            <div class="display-label">
                Supervisor</div>
            <div class="display-field">
                @ViewBag.Supervisor.FullNameDepartment
            </div>
            <div class="display-label">
                Phone</div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Phone)
            </div>
            <div class="display-label">
                Last Modified</div>
            <div class="display-field">
                @Html.DisplayFor(model => model.LastModified)
            </div>
            <div class="display-label">
                Building</div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Building)
            </div>
            <div class="display-label">
                Room</div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Room)
            </div>
        </td>
        <td valign="top">
            <span>@Html.UserImage(Model.Gender.ToString())</span>
        </td>
    </tr>
</table>
